--- 
layout: default 
title: Home 
---

<section class="archive">
  {% assign trans = site.data.values[site.lan] %} {% for post in paginator.posts %}
    {% unless post.next %} {% unless forloop.first %}
  </div>
  </div>
  {% endunless %}
  <div class="archive-item fadeInDown animated">
    <h2>{{ post.date | date: '%Y' }}</h2>
    <div>

      {% else %} {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} {% capture next_year %}{{ post.next.date | date:
      '%Y' }}{% endcapture %} {% if year != next_year %} {% unless forloop.first %}
    </div>
  </div>
  {% endunless %}
  <div class="archive-item fadeInDown animated">
    <h2>{{ post.date | date: '%Y' }}</h2>
    <div>

      {% endif %} {% endunless %}

      <article>
        <a href="{{ post.url | absolute_url }}" title="{{ post.title }}">{{ post.title }}</a>
        <div class="post-date">
          <time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: "%-d %B" }}</time>
        </div>
      </article>

      {% if forloop.last %}
    </div>
  </div>
  {% endif %}
  {% endfor %}
</section>

<!-- <div class="pagination">
  {% if paginator.previous_page %} {% if paginator.previous_page == 1 %}
  <a class="btn btn-default" href="{{ site.baseurl}}/index.html" class="previous">Page Up</a>
  {% else %}
  <a class="btn btn-default" href="{{ site.baseurl}}/page{{ paginator.previous_page }}" class="previous">Page Up</a>
  {% endif %} {% endif %}
  <span class="page_number ">{{ trans.page }}: {{ paginator.page }} of {{ paginator.total_pages }}</span> {% if paginator.next_page %}
  <a class="btn btn-default" href="{{ site.baseurl}}/page{{ paginator.next_page }}" class="next">Page Down</a>
  {% endif %}
</div> -->